<!DOCTYPE html>
<html lang=zh-CN>
<head>
    <meta charset=utf-8>
    <title>test</title>
    <script>
        function closeNewWindow(){
          window.close()
        }

        function androidCallJsWithParams(arg){
           document.getElementById("message").innerHTML += (arg);
        }
    </script>
</head>
<body>
<div style="position:relative;left:40px;top:100px">
    <p id='message' style="font-size:24px;position:relative;top:20px">receive:</p>
    <button type="button" style="width:280px;height:88px;font-size:24px;position:relative;top:30px"
            onclick="closeNewWindow()">
        use window close
    </button>
</div>
</body>
</html>